<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="net.skyedu.dao.*" %>
<%@ page import="net.skyedu.bean.*" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	pageContext.setAttribute("path", path);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
  <head>
    <title>班级学生信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<link rel="stylesheet" type="text/css" href="${path }/css/reset.css">
	<link rel="stylesheet" type="text/css" href="${path }/css/main.css"/>
	<script type="text/javascript" src="${path }/js/lhgdialog/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="${path }/js/lhgdialog/lhgdialog.min.js?skin=iblue"></script>
	<script type="text/javascript" src="${path }/js/winAjaxOtherCheaper.js"></script>
  </head>
  
<body>
<br/>
	<% 
		String terId = request.getParameter("terId");
	  	String stuId = request.getParameter("stuId");
	  	String subClassType=request.getParameter("subClassType");
		//String claId = request.getParameter("claId");
		pageContext.setAttribute("terId", terId);
		pageContext.setAttribute("stuId", stuId);
		pageContext.setAttribute("subClassType",subClassType);
		//pageContext.setAttribute("claId", claId);
    %>
    <input type="hidden" id="path" value="${path }"/>
	<input type="hidden" id="terId" value="${terId }"/>
    <input type="hidden" id="stuId" value="${stuId }"/>
    <input type="hidden" id="subClassType" value="${subClassType }"/>
    <!-- <input type="hidden" id="claId" value="${claId }"/> -->
    <input type="hidden" id="totalPge" value=""/>
    <div id="divload">
		   	<table class="result">
			      <tbody>
			      	<tr>
			      		<td colspan="11" height="350"><img src="${path }/images/loading.gif" boder="0"/></td>
			      	</tr>
			      </tbody>
		   	</table>
	</div>
    
    <div id="divshow">
      <table class="result" id="myTable">
        <thead>
        <tr>
        <th>学生姓名</th>
           <th>科目</th>
          <th>奖学金</th>
          <th>代金券</th>
          <th>优惠券</th>
          <!-- <th>考勤状态</th>
          <th>上课老师</th>
          <th>考勤说明</th>-->
        </tr>
        </thead>
        <tbody id="dataShow"></tbody>
      </table>
    </div>
    
    <!-- 分页start -->
    <div class="page" id="page">
		<div class="fl">共<font color="#FF0000" id="totalRows"></font>条记录，当前第<font color="#0066FF" id="currentPage"></font>/共<font color="#0066FF" id="totalPages"></font>页，每页<font color="#FF0000" id="pageSize"></font>条记录</div>
	      <div class="paging fr">
	        <ul>
	          <li><a id="first">首页</a></li>
	          <li><a id="previous">上一页</a></li>
	          <li><a id="next">下一页</a></li>
	          <li><a id="last">尾页</a></li>
	          <li>转到&nbsp;<input type="text" class="iparea" id="goPage" />&nbsp;页</li>
	          <li>
	            <input type="button" id="go" value="go" class="gobtn" onclick="javascript:goOnclick();" />
	          </li>
	        </ul>
	      </div>
    </div>
	<!-- 分页  end-->
    <br/>
</body>
</html>
